<!--
 * @Description: js在html中的使用
 * @Author: rendc
 * @Date: 2021-06-29 16:22:54
 * @LastEditors: rendc
 * @LastEditTime: 2021-06-29 16:31:30
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>hello</title>
  <script>
    var str = "hello,world"
    console.log(str);
  </script>
  <script src="./hello.js"></script>
</head>

<body>

</body>

</html>